package com.example.web.websocket.entity;

import javax.websocket.Session;

/**
 * 用户
 * Created by YangGang on 2021/8/2 15:47。
 */
public class User {
    private Session session;
    private String group;
    private String key;

    public User(Session session, String group, String key) {
        this.session = session;
        this.group = group;
        this.key = key;
    }

    public Session getSession() {
        return session;
    }

    public void setSession(Session session) {
        this.session = session;
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }
}
